package com.xy.tool.report.view;

/**
 * Created by zsp on 2018/12/11.
 */
public class Style {

    private short fontSize;
    private boolean bold;
    private boolean highlight;

    private final static Style EMPTY = new Style();

    public static Style empty() {
        return EMPTY;
    }

    public short getFontSize() {
        return fontSize;
    }

    public void setFontSize(short fontSize) {
        this.fontSize = fontSize;
    }

    public boolean isBold() {
        return bold;
    }

    public void setBold(boolean bold) {
        this.bold = bold;
    }

    public boolean isHighlight() {
        return highlight;
    }

    public void setHighlight(boolean highlight) {
        this.highlight = highlight;
    }

    @Override
    public String toString() {
        return fontSize + " " + bold + " " + highlight;
    }
}
